package com.mbcn.action;

import com.mbcn.dao.MemberDetailsDAO;
import com.mbcn.dao.impl.MemberDetailsDAOImpl;
import com.mbcn.pageModel.MemberDetails;
import com.mbcn.system.commonUtil.BaseUserAction;

public class MemberDetailsAction extends BaseUserAction {
	MemberDetails memberDetails = new MemberDetails();
	MemberDetailsDAO memberDetailsDAO = new MemberDetailsDAOImpl();
	
	public String memberDetails() throws Exception {
		try {
			memberDetails = memberDetailsDAO.loadMemberDetails(memberDetails.getMemberId());
		} catch (Exception e) {
			e.printStackTrace();
		}
		return SUCCESS;

	}
	
	public Object getModel() {
		return memberDetails;
	}

}
